**Figure 4b
reg uk_disc100 i.CT white birth Urban
margins i.CT
marginsplot, horizontal recast(scatter)
*Manually edited into Figure 4
*Note that the discrimination variable was originally measured on a 0-10 scale, but has been transposed to a 0-100 scale to compare to the main study

**Appendix Table 11
sum u_30 Urban white

**Appendix Table 12
iebaltab white birth Urban Leave, grpvar(CT) browse

**Appendix Table 13
reg uk_disc100 i.CT 
reg uk_disc100 i.CT white birth Urban
reg uk_disc100 i.CT white birth Urban if Duration>=80

**Appendix Table 14
reg uk_disc100 i.CT white birth Urban if liberal ==1
reg uk_disc100 i.CT white birth Urban if liberal ==0
reg uk_disc100 i.CT white birth Urban if Leave ==0
reg uk_disc100 i.CT white birth Urban if Leave ==1
reg uk_disc100 i.CT birth Urban if white ==1
reg uk_disc100 i.CT birth Urban if white ==0
